package com.zking.ssm.PMQ.model;

import lombok.ToString;

import java.util.Date;

@ToString
public class Role {
    private Long roleId;

    private String roleName;

    private String roleDesc;

    private Date roleDate;

    private Integer[] roleIds;

    public Role(Long roleId, String roleName, String roleDesc, Date roleDate) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.roleDesc = roleDesc;
        this.roleDate = roleDate;
    }

    public Role() {
        super();
    }

    public Integer[] getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(Integer[] roleIds) {
        this.roleIds = roleIds;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleDesc() {
        return roleDesc;
    }

    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc;
    }

    public Date getRoleDate() {
        return roleDate;
    }

    public void setRoleDate(Date roleDate) {
        this.roleDate = roleDate;
    }
}